package com.example.demo.service.model;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder // @Builder.Default 和这个有冲突，标红,要赋初始值
@AllArgsConstructor
@NoArgsConstructor
@JsonIgnoreProperties(ignoreUnknown = true)
public class ApiSoftRequest {
    private String softName;

    private String softVersion;

    private String gitUrl;

    private String officialUrl;

    private String mainLanguage;

    // 可选
    @Builder.Default
    private String languages = null;
}
